package com.inibb.app.dao;

import java.io.Serializable;

import javax.persistence.EntityManager;

public class JpaGenericDao<E, PK extends Serializable> extends GenericDao<E, PK> {

	/**
	 * Set entity manager.
	 * 
	 * @param entityManager entity manager
	 */
	@Override
	public void setEntityManager(EntityManager entityManager) {
		super.setEntityManager(entityManager);
	}
	
	public JpaGenericDao(EntityManager entityManager, Class<E> clazz){
		super((Class<?>) clazz);
		this.setEntityManager(entityManager);
	}
}
